<?php


namespace addon\hotel\event;

use app\model\system\Cron;

/**
 * 应用卸载
 */
class UnInstall
{
    /**
     * 执行卸载
     */
    public function handle()
    {
        $cron = new Cron();
        $cron->deleteCron([ [ 'event', '=', 'HotelSettlement' ] ]);
        return success();
    }
}